/**
 * $Id: MetaTool.java,v 1.18 2012-11-05 14:51:57 mate Exp $
 * Copyright (c) 2006-2012, JGraph Ltd */
package mms;

import com.mxgraph.swing.util.mxSwingConstants;
import com.mxgraph.util.mxConstants;
import mms.tooleditor.EditorMenuBar;
import mms.tooleditor.MetaToolGraphEditor;

import javax.swing.*;
import java.awt.*;

public class MetaTool {

    /**
     * @param args
     */
    public static void main(String[] args) {
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (Exception e1) {
            e1.printStackTrace();
        }

        mxSwingConstants.SHADOW_COLOR = Color.LIGHT_GRAY;
        mxConstants.W3C_SHADOWCOLOR = "#D3D3D3";

        MetaToolGraphEditor editor = new MetaToolGraphEditor();
        editor.createFrame(new EditorMenuBar(editor)).setVisible(true);
    }
}
